package com.shop.item.atom.atomsvc;

import com.shop.common.model.InputBean;
import com.shop.common.model.ServiceBean;
import com.shop.common.model.param.item.ItemCommentInput;
import com.shop.common.model.result.item.ItemCommentOutput;

import java.util.List;

/**
 * @Author zhoulk
 * @Description //TODO 商品评论原子服务
 * @Date 20:28 2019/3/11
 *
 * @Param
 * @return
 * @errorCode //TODO
 **/
public interface IItemCommentAtomService {

    ServiceBean<Integer> insertItemComment(ItemCommentInput commentInput);

    ServiceBean<String> deleteItemComment(ItemCommentInput commentInput);

    ServiceBean<ItemCommentOutput> selectItemComment(ItemCommentInput commentInput);

    ServiceBean<List<ItemCommentOutput>> selectItemCommentList(ItemCommentInput commentInput);

    ServiceBean<List<ItemCommentOutput>> selectItemCommentList4P(InputBean<ItemCommentInput> inputBean);

    ServiceBean<String> updateItemComment(ItemCommentInput commentInput);
}
